package com.vichat.business.service;


import com.vichat.business.entity.CommonAlarm;
import com.vichat.business.entity.VcAlarm;
import com.vichat.common.vo.PageFilter;

import java.math.BigDecimal;
import java.util.List;

public interface IVcAlarmService {
    public VcAlarm getAlarmByUid(long uid, long alarmState);

    public VcAlarm getAlarmByalarmId(long alarmId, long alarmState);
    public VcAlarm getAlarmByalarmId(long alarmId);

    public VcAlarm saveAlarm(VcAlarm queryBean);

    public List<VcAlarm> queryAlarms(VcAlarm queryBean, PageFilter pf);
    public Long countAlarms(VcAlarm queryBean);

    public List<VcAlarm> queryAlarmsByOrgId(long orgId);

    public void saveDealResult(Long alarmId, String dealResult);

    public CommonAlarm saveCommonAlarm(CommonAlarm queryBean);
    public void delCommonAlarm(long alarmId);
    public CommonAlarm getCommonFenceAlarmByUidObjId(long uid,long fenceId);


    public List<CommonAlarm> queryCommonAlarms(CommonAlarm queryBean, PageFilter pf);
    public Long countCommonAlarms(CommonAlarm queryBean);

    public void saveCommonAlarmDealResult(Long alarmId, String dealResult);
    public CommonAlarm getCommonAlarmByalarmId(long alarmId, long alarmState);
    public CommonAlarm getCommonAlarmByalarmId(long alarmId);
}
